package com.headwind.logistics.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 *
 * 后台跳转控制器
 * @author 小恶魔
 * @time 2020-7-11
 */
@Controller
public class AdminIndexController {

    /**
     * 后台临时登录界面
     * @return
     */
    @GetMapping("/admin/tempLogin")
    public String tempLogin(){

        return "/admin/login-1";
    }

    /**
     * 跳转至修改资料
     * @return
     */
    @RequestMapping("/admin/toEmployeeSetting")
    public String toEmployeeSetting(){

        return "/admin/empSetting";
    }

    /**
     * 跳转至头像上传页面
     * @return
     */
    @RequestMapping("/admin/toEmpFaceImage")
    public String toEmployeeFaceImage(){

        return "/admin/empFaceImage";
    }

    /**
     * 跳转至修改页面
     * @return
     */
    @RequestMapping("/admin/toEmpPassword")
    public String toEmployeePassword(){

        return "/admin/emPassword";
    }

    /*****************权限管理****************/

    /**
     * 跳转至部门管理
     * @return
     */
    @GetMapping("/admin/toDepartment")
    public String toDepartment(){


        return "/admin/permission/department";
    }

    /**
     * 跳转至员工管理
     * @return
     */
    @GetMapping("/admin/toEmployee")
    public String toEmployee(){

        return "/admin/permission/employee";
    }

    /**
     * 跳转至菜单管理
     * @return
     */
    @GetMapping("/admin/toMenu")
    public String toMenu(){

        return "/admin/permission/menu";
    }

    /**
     * 跳转至角色管理
     * @return
     */
    @GetMapping("/admin/toRole")
    public String toRole(){

        return "/admin/permission/role";
    }

    /**
     * 跳转至功能权限控制
     * @return
     */
    @GetMapping("/admin/toPerms")
    public String toPerms(){

        return "/admin/permission/perms";
    }


    /*****************订单管理****************/

    /**
     * 跳转至异常管理
     * @return
     */
    @GetMapping("/admin/toAbnormal")
    public String toAbnormal(){

        return "/admin/order/abnormal";
    }

    /**
     * 跳转至订单管理
     * @return
     */
    @GetMapping("/admin/toOrder")
    public String toOrder(){

        return "/admin/order/order";
    }

    /**
     * 跳转至回单管理
     * @return
     */
    @GetMapping("/admin/toReceipt")
    public String toReceipt(){

        return "/admin/order/receipt";
    }

    /**
     * 跳转至计划单
     * @return
     */
    @GetMapping("/admin/toPlannedOrder")
    public String toPlannedOrder(){

        return "/admin/order/plannedOrder";
    }

    /**
     * 跳转至运单管理
     * @return
     */
    @GetMapping("/admin/toWaybill")
    public String toWaybill(){

        return "/admin/order/waybill";
    }

    /*****************系统管理****************/

    /**
     * 跳转至积分商城
     * @return
     */
    @GetMapping("/admin/integralMall")
    public String toIntegralMall(){

        return "/admin/system/integralMall";
    }

    /**
     * 跳转至优惠卷管理
     * @return
     */
    @GetMapping("/admin/toCoupon")
    public String toCoupon(){

        return "/admin/system/coupon";
    }

    /**
     * 跳转至消息通知
     * @return
     */
    @GetMapping("/admin/toMessage")
    public String toMessage(){

        return "/admin/system/message";
    }

    /**
     * 跳转至工单管理
     * @return
     */
    @GetMapping("/admin/workOrder")
    public String toWorkOrder(){

        return "/admin/system/workOrder";
    }

    /**
     * 跳转至货物品类维护
     * @return
     */
    @GetMapping("/admin/goodsType")
    public String toGoodsType(){

        return "/admin/system/goodsType";
    }

    /**
     * 跳转至异常货物类维护
     * @return
     */
    @GetMapping("/admin/goodsIssueType")
    public String toGoodsIssueType(){

        return "/admin/system/goodsIssueType";
    }

    /**
     * 跳转至积分管理
     * @return
     */
    @GetMapping("/admin/integral")
    public String toIntegral(){

        return "/admin/system/integral";
    }

    /**
     * 跳转至数据日志
     * @return
     */
    @GetMapping("/admin/dataLog")
    public String toDataLog(){

        return "/admin/system/dataLog";
    }

    /**
     * 跳转至用户登录日志
     * @return
     */
    @GetMapping("/admin/loginLog")
    public String toLoginLog(){

        return "/admin/system/loginLog";
    }

    /**
     * 跳转至油费管理
     * @return
     */
    @GetMapping("/admin/oilCost")
    public String toOilCost(){

        return "/admin/system/oilCost";
    }

    /**
     * 跳转至保险管理
     * @return
     */
    @GetMapping("/admin/insurance")
    public String toInsurance(){

        return "/admin/system/insurance";
    }

    /*****************面单管理****************/

    /**
     * 跳转至面单取号
     * @return
     */
    @GetMapping("/admin/toExpressFetchRecord")
    public String toExpressFetchRecord(){

        return "/admin/expressSheet/expressFetchRecord";
    }

    /**
     * 跳转至面单发放
     * @return
     */
    @GetMapping("/admin/toExpressGrant")
    public String toExpressGrant(){

        return "/admin/expressSheet/expressGrant";
    }

    /**
     * 跳转至面单发放管理
     * @return
     */
    @GetMapping("/admin/toExpressGrantManage")
    public String toExpressGrantManage(){

        return "/admin/expressSheet/expressGrantManage";
    }

    /****************承运管理**************/



    /**
     * 跳转至车辆登记
     * @return
     */
    @GetMapping("/admin/toCarRegister")
    public String toCarRegister(){

        return "/admin/TransportManagement/carRegister";
    }

    /**
     * 跳转至车辆管理
     * @return
     */
    @GetMapping("/admin/toCar")
    public String toCar(){

        return "/admin/TransportManagement/car";
    }

    /**
     * 跳转至sim卡管理
     * @return
     */
    @GetMapping("/admin/toSim")
    public String toSim(){

        return "/admin/TransportManagement/sim";
    }

    /**
     * 跳转至GPS设备管理
     * @return
     */
    @GetMapping("/admin/toGps")
    public String toGps(){

        return "/admin/TransportManagement/gps";
    }

    /**
     * 跳转至车辆追踪
     * @return
     */
    @GetMapping("/admin/toVehicleTracking")
    public String toVehicleTracking(){

        return "/admin/TransportManagement/vehicleTracking";
    }

    /**
     * 跳转至sim和GPS安装记录
     * @return
     */
    @GetMapping("/admin/toTheInstallationRecords")
    public String toTheInstallationRecords(){

        return "/admin/TransportManagement/theInstallationRecords";
    }

    /**
     * 跳转至司机管理
     * @return
     */
    @GetMapping("/admin/toTheDriverManagement")
    public String toTheDriverManagement(){

        return "/admin/TransportManagement/theDriverManagement";
    }

    /**
     * 跳转至GIS管理
     * @return
     */
    @GetMapping("/admin/toGis")
    public String toGis(){

        return "/admin/TransportManagement/gis";
    }

    /*************运营管理**************/

    /**
     * 跳转至应收列表
     * @return
     */
    @GetMapping("/admin/toReceivable")
    public String toReceivable(){

        return "/admin/Operations/receivable";
    }

    /**
     * 跳转至应付列表
     * @return
     */
    @GetMapping("/admin/toCopeWith")
    public String toCopeWith(){

        return "/admin/Operations/copeWith";
    }

    /**
     * 跳转至客户账户
     * @return
     */
    @GetMapping("/admin/toAccount")
    public String toAccount(){

        return "/admin/Operations/account";
    }

    /**
     * 跳转至承运账户
     * @return
     */
    @GetMapping("/admin/toAcceptForCarriage")
    public String toAcceptForCarriage(){

        return "/admin/Operations/acceptForCarriage";
    }

    /**
     * 跳转至余额提现审核
     * @return
     */
    @GetMapping("/admin/toWithdrawalAudit")
    public String toWithdrawalAudit(){

        return "/admin/Operations/withdrawalAudit";
    }

    /**
     * 跳转至充值记录
     * @return
     */
    @GetMapping("/admin/toRechargeRecord")
    public String toRechargeRecord(){

        return "/admin/Operations/rechargeRecord";
    }

    /**
     * 跳转至提现记录
     * @return
     */
    @GetMapping("/admin/toWithdrawalRecord")
    public String toWithdrawalRecord(){

        return "/admin/Operations/withdrawalRecord";
    }


    /***********平台用户**************/

    /**
     * 跳转至客户列表
     * @return
     */
    @GetMapping("/admin/toClientList")
    public String toClientList(){

        return "/admin/ThePlatform/clientList";
    }

    /**
     * 跳转至收货地址
     * @return
     */
    @GetMapping("/admin/toShippingAddress")
    public String toShippingAddress(){

        return "/admin/ThePlatform/shippingAddress";
    }

    /**
     * 跳转至承运商列表
     * @return
     */
    @GetMapping("/admin/toListOfCarriers")
    public String toListOfCarriers(){

        return "/admin/ThePlatform/listOfCarriers";
    }

    /*************财务管理*************/


    /**
     * 跳转至收款统计
     * @return
     */
    @GetMapping("/admin/toCollectingStatistics")
    public String toCollectingStatistics(){

        return "/admin/FinancialManagement/collectingStatistics";
    }

    /**
     * 跳转至付款统计
     * @return
     */
    @GetMapping("/admin/toPaymentStatistics")
    public String toPaymentStatistics(){

        return "/admin/FinancialManagement/paymentStatistics";
    }

    /**
     * 跳转至承运人余额记录
     * @return
     */
    @GetMapping("/admin/toCarriersBalanceRecord")
    public String toCarriersBalanceRecord(){

        return "/admin/FinancialManagement/carriersBalanceRecord";
    }

    /**
     * 跳转至开票统计
     * @return
     */
    @GetMapping("/admin/toTheStatisticsOfMakeOutAnInvoice")
    public String toTheStatisticsOfMakeOutAnInvoice(){

        return "/admin/FinancialManagement/theStatisticsOfMakeOutAnInvoice";
    }


    /*****************报表统计******************/


    /**
     * 跳转至订单明细
     * @return
     */
    @GetMapping("/admin/toOrderDetails")
    public String toOrderDetails(){

        return "/admin/reportFormStatistics/orderDetails";
    }

    /**
     * 跳转至车辆信息
     * @return
     */
    @GetMapping("/admin/toVehicleInformation")
    public String toVehicleInformation(){

        return "/admin/reportFormStatistics/vehicleInformation";
    }

    /**
     * 跳转至货主信息
     * @return
     */
    @GetMapping("/admin/toTheShipperInformation")
    public String toTheShipperInformation(){

        return "/admin/reportFormStatistics/theShipperInformation";
    }

    /**
     * 跳转至承运人信息
     * @return
     */
    @GetMapping("/admin/toCarrierInformation")
    public String toCarrierInformation(){

        return "/admin/reportFormStatistics/carrierInformation";
    }

    /**
     * 跳转至结算报表
     * @return
     */
    @GetMapping("/admin/tosettlementReport")
    public String tosettlementReport(){

        return "/admin/reportFormStatistics/settlementReport";
    }

    /**
     * 跳转至每日收入表
     * @return
     */
    @GetMapping("/admin/toDailyIncomeStatement")
    public String toDailyIncomeStatement(){

        return "/admin/reportFormStatistics/dailyIncomeStatement";
    }


    /***************配送管理*****************/

    /**
     * 跳转至配送任务管理
     * @return
     */
    @GetMapping("/admin/toDistributionTaskManagement")
    public String toDistributionTaskManagement(){

        return "/admin/DistributionManagement/distributionTaskManagement";
    }

    /**
     * 跳转至签收管理
     * @return
     */
    @GetMapping("/admin/toReceiptManagement")
    public String toReceiptManagement(){

        return "/admin/DistributionManagement/receiptManagement";
    }

    /**
     * 跳转至配送异常管理
     * @return
     */
    @GetMapping("/admin/toDistributionAnomalyManagement")
    public String toDistributionAnomalyManagement(){

        return "/admin/DistributionManagement/distributionAnomalyManagement";
    }

    /**
     * 跳转至到货通知
     * @return
     */
    @GetMapping("/admin/toArrivalNotice")
    public String toArrivalNotice(){

        return "/admin/DistributionManagement/arrivalNotice";
    }

    /**
     * 跳转至到货交款
     * @return
     */
    @GetMapping("/admin/toTheArrivalOfTheItem")
    public String toTheArrivalOfTheItem(){

        return "/admin/DistributionManagement/theArrivalOfTheItem";
    }

    /**
     * 跳转至到货操作
     * @return
     */
    @GetMapping("/admin/toTheArrivalOfTheOperation")
    public String toTheArrivalOfTheOperation(){

        return "/admin/DistributionManagement/theArrivalOfTheOperation";
    }


    /****************网点区域管理*****************/


    /**
     * 跳转至网点区域管理
     * @return
     */
    @GetMapping("/admin/toBranchAreaManagement")
    public String toBranchAreaManagement(){

        return "/admin/BranchAreaManagement/branchAreaManagement";
    }

    /**
     * 跳转至网点资料查询
     * @return
     */
    @GetMapping("/admin/toBranchDataQuery")
    public String toBranchDataQuery(){

        return "/admin/BranchAreaManagement/branchDataQuery";
    }

    /**
     * 跳转至网点区域申请
     * @return
     */
    @GetMapping("/admin/toBranchAreaApplication")
    public String toBranchAreaApplication(){

        return "/admin/BranchAreaManagement/branchAreaApplication";
    }


    /**************仓库管理***************/


    /**
     * 跳转至发货库存管理
     * @return
     */
    @GetMapping("/admin/toDeliveryInventoryManagement")
    public String toDeliveryInventoryManagement(){

        return "/admin/StoreManagement/deliveryInventoryManagement";
    }

    /**
     * 跳转至到货库存管理
     * @return
     */
    @GetMapping("/admin/toIncomingInventoryManagement")
    public String toIncomingInventoryManagement(){

        return "/admin/StoreManagement/incomingInventoryManagement";
    }

    /**
     * 跳转至库存盘点
     * @return
     */
    @GetMapping("/admin/toInventoryVerification")
    public String toInventoryVerification(){

        return "/admin/StoreManagement/inventoryVerification";
    }

}
